#define _CRT_SECURE_NO_WARNINGS 1
#include"BTree.h"
int main()
{
	char* arr = { "ABD##E#H##CF##G##" };
	int n = strlen(arr);
	int pi[] = {0,1,2,3,4,5,6,7,8};
	BTNode* tree;
	tree = BinaryTreeCreate(arr, n, pi);
	BinaryTreePrevOrder(tree);

	printf("\nBinaryTreeSize: %d", BinaryTreeSize(tree));

	BinaryTreeDestory(&tree);
	return 0;
}